Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.poll.listeners--listener

This contribution is part of XML component org.nuxeo.ecm.poll.listeners inside nuxeo-poll-core-5.8.jar

Extension Point

Extension point listener of component EventServiceComponent.

Contributed Items

  • <listener async="false" class="org.nuxeo.ecm.poll.listeners.UpdatePollStatusListener" name="updatePollStatusListener" postCommit="true" priority="50">
          <event>documentCreated</event>
          <event>documentModified</event>
        </listener>
  • <listener async="true" class="org.nuxeo.ecm.poll.listeners.UpdateAllPollsStatusListener" name="updateAllPollStatusListener" postCommit="false" priority="1">
          <event>updatePollsStatus</event>
        </listener>

XML Source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">

    <listener async="false" class="org.nuxeo.ecm.poll.listeners.UpdatePollStatusListener" name="updatePollStatusListener" postCommit="true" priority="50">
      <event>documentCreated</event>
      <event>documentModified</event>
    </listener>

    <listener async="true" class="org.nuxeo.ecm.poll.listeners.UpdateAllPollsStatusListener" name="updateAllPollStatusListener" postCommit="false" priority="1">
      <event>updatePollsStatus</event>
    </listener>

  </extension>